﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;

namespace CitizenJournalismNetworkServer.Attributes
{
    
    public class SerializationExcludeAttribute : Attribute
    {
        public List<string> PropertiesToExclude { get; set; }

        public SerializationExcludeAttribute(params string[] propertiesToExclude)
        {
            this.PropertiesToExclude = new List<string>();

            foreach (string property in propertiesToExclude)
            {
                this.PropertiesToExclude.Add(property);
            }
        }

    }

}